package com.gk.carshopsys.service;

import com.gk.carshopsys.pojo.Emp;
import org.springframework.stereotype.Service;

import java.util.List;


public interface EmpService {

    //批量插入数据
    public int addEmpByList(List<Emp> list);

    //员工账号登录
    public Emp loginemp(String username,String password);

    //查询员工
    public List<Emp> findEmp(Emp emp);

    //添加员工
    public int addEmp(Emp emp);

    //删除员工
    public int delEmp(List<Integer> empList);

    //更新员工
    public int updateEmp(Emp emp);

    //修改密码
    public int changePassword(Integer id,String password);
}
